import hasRole from './permission/hasRole'
import hasPermi from './permission/hasPermi'
import scan from './module/scan'

export default function directive(app) {
  app.directive('hasRole', hasRole)
  app.directive('hasPermi', hasPermi)
  app.directive('scan', scan)
}
